net/netip.AddrPort.port (field)
6 uses
net/netip (current package)
netip.go#L1070: port uint16
netip.go#L1075: func AddrPortFrom(ip Addr, port uint16) AddrPort { return AddrPort{ip: ip, port: port} }
netip.go#L1081: func (p AddrPort) Port() uint16 { return p.port }
netip.go#L1126: ipp.port = uint16(port16)
netip.go#L1187: b = strconv.AppendUint(b, uint64(p.port), 10)
netip.go#L1210: b = strconv.AppendUint(b, uint64(p.port), 10)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |